import com.gsocket.event.sever.ReceiveListener;
import com.gsocket.sever.Connection;

public class rl implements ReceiveListener {

    int i = 0;

    @Override
    public void onReceived(Connection connection, byte[] msg) {
        System.out.println(i++);
        System.out.println(new String(msg));
    }
}